package com.ruibang.glass.common.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName : GlobalUser
 * @Description : 全局用户相关信息
 * @Author : wujie
 * @Date: 2020-04-16 17:26:54
 */
@Data
public class GlobalUser implements Serializable {

    private static final long serialVersionUID = 6185959447242168108L;

    @ApiModelProperty(value = "登录IP地址")
    private String ipAddress;

    @ApiModelProperty(value = "用户Id")
    private String userId;

    @ApiModelProperty(value = "登录名称")
    private String loginName;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "部门Id")
    private String deptId;

    @ApiModelProperty(value = "角色Id")
    private List<String> roleIds;

    @ApiModelProperty(value = "用户类型，1:PC登录，2:APP登录")
    private String userType;
}
